package cn.ecnu.paper.mapper;

import cn.ecnu.paper.pojo.History;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface HistoryMapper {

    @Insert("INSERT INTO history(uid, pid, date) VALUES (#{uid}, #{pid}, #{date})")
    int addHistory(History history);
}
